package com.qy.dao;

import com.qy.base.core.Mapper;
import com.qy.model.Evaluation;
import com.qy.model.Policy;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface EvaluationMapper extends Mapper<Evaluation> {
    public List<Evaluation> selectEvaluationByUserId(Policy policy);

    public List<Map> selectEvaluationListByUserId(Evaluation evaluation);

    public Evaluation seeEvaluation(Integer id);

    public List<Map> evaluationList(@Param("user_name") String user_name ,@Param("phone") String phone ,@Param("policy_type") Integer policy_type ,@Param("policy_need") String policy_need);
}